package com.atzhiguo.springcloud.dao;

import com.atzhiguo.springcloud.entities.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author zhiguo
 * @version v1.0
 * @create 2020/10/13 16:22
 */
@Mapper
public interface PaymentDao {

    public int create(Payment payment);

    public Payment getPaymentById(@Param("id")long id);
}
